package com.cwf.security.service;

import org.springframework.stereotype.Service;

import java.util.List;

public interface RedisPermissionService {

    /**
     * 获取权限列表缓存
     * @param uid 用户id
     */
    List<String> getPermission(String uid);


    /**
     * 重新设置权限缓存
     * @param uid 用户id
     */
    List<String> setRedisPermission(String uid);

}
